package com.yanmaohu.nikita.data.expression;

import java.util.List;

/**
 * @author Bright Lee
 */
public final class MemberExpression extends Expression {

    private Expression owner;
    private List<NameExpression> memberList;

    public MemberExpression(int beginIndex, int endIndex, Expression owner, List<NameExpression> memberList) {
        super(beginIndex, endIndex);
        this.owner = owner;
        this.memberList = memberList;
    }

    public Expression getOwner() {
        return owner;
    }

    public List<NameExpression> getMemberList() {
        return memberList;
    }

}
